package com.np.demo1.lambda1;

public class Class1 {

    public void add(int a, int b, ICallBack1 callBack) {
        int result = a + b;

        if (callBack != null) {
            callBack.f1(String.format("%d + %d = %d", a, b, result));
        }
    }
}
